package cn.hlsconstant;

/**
 *@fileName: CommonEnum.java
 *@package: cn.christ.constant
 *@Description:  操作数据枚举
 *@author: yinghui.zhang
 *@email: uuhui@163.com
 *@date: 2015-7-6
 */
public enum DataAssessEnum {
	/**插入数据库错误**/
	INSERT_ERROR(1001), 
	/**更新数据库错误**/
	UPDATE_ERROR(1002), 
	/**查询数据库错误**/
	SELECT_ERROR(1003), 
	/**删除数据库错误**/
	DELETE_ERROR(1004);
			
	private Integer errorCode;

	private DataAssessEnum(Integer errorCode) {
		this.errorCode = errorCode;
	}

	public int getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(int errorCode) {
		this.errorCode = errorCode;
	}
	
}
